﻿using King.Box.Models.Db.Sys;
using King.Box.Models.Query.Sys;
using King.Box.Models.Util;
using King.Box.Models.View.Sys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace King.Box.Service
{
    public interface ISysService
    {
        #region 菜单
        PageResult<Sys_MenuData> SelectMenu(SysMenuQuery query);
        IEnumerable<Sys_MenuData> SelectMenuLevel();
        IEnumerable<Sys_MenuData> SelectMenu();
        IEnumerable<Sys_MenuData> LevelInfo(IEnumerable<Sys_Menu> menus);
        #endregion

        #region 权限
        PageResult<Sys_PermissionData> SelectPermission(SysPermissionQuery query);
        #endregion

        #region 用户
        PageResult<Sys_UserData> SelectUser(SysUserQuery query);
        #endregion
    }
}
